Don't fetch remote images when reading docs on disk
authorGunnar Hjalmarsson <gunnarhj@ubuntu.com>
Thu, 14 Jan 2021 21:20:24 +0000 (22:20 +0100)
committerGunnar Hjalmarsson <gunnarhj@ubuntu.com>
Thu, 14 Jan 2021 21:20:24 +0000 (22:20 +0100)
debian/changelog
debian/patches/no-remote-images-when-reading-docs-on-disk.patch [new file with mode: 0644]
debian/patches/series

index b81f0856cc9a951179a2775415cc7c9c061c86f3..1eb7aa00f665c3d97611ce6061bd6a76f029039e 100644 (file)
@@ -2,6 +2,8 @@ opencc (1.1.1+git20200624+ds2-3) UNRELEASED; urgency=medium
 
   * Team upload.
   * Replace shlibs file with symbols file
+  * debian/patches/no-remote-images-when-reading-docs-on-disk.patch:
+    - Fixes a privacy breach previously reported as Lintian warnings
 
  -- Gunnar Hjalmarsson <gunnarhj@ubuntu.com>  Thu, 14 Jan 2021 19:15:00 +0100
 
diff --git a/debian/patches/no-remote-images-when-reading-docs-on-disk.patch b/debian/patches/no-remote-images-when-reading-docs-on-disk.patch
new file mode 100644 (file)
index 0000000..3ea24ee
--- /dev/null
@@ -0,0 +1,25 @@
+Description: Don't fetch remote images when reading docs on disk
+ This fixes a privacy breach previously reported as Lintian warnings
+Author: Gunnar Hjalmarsson <gunnarhj@ubuntu.com>
+Forwarded: no
+Last-Update: 2021-01-14
+
+--- a/README.md
++++ b/README.md
+@@ -1,12 +1,12 @@
+ # Open Chinese Convert 開放中文轉換
+-[![Travis](https://img.shields.io/travis/BYVoid/OpenCC.svg)](https://travis-ci.org/BYVoid/OpenCC)
+-[![AppVeyor](https://img.shields.io/appveyor/ci/Carbo/OpenCC.svg)](https://ci.appveyor.com/project/Carbo/OpenCC)
+-[![Python package](https://github.com/BYVoid/OpenCC/workflows/Python%20package/badge.svg?branch=master)](https://github.com/BYVoid/OpenCC/actions?query=workflow%3A%22Python+package%22)
++[[Travis](https://travis-ci.org/BYVoid/OpenCC)]
++[[AppVeyor](https://ci.appveyor.com/project/Carbo/OpenCC)]
++[[Python package](https://github.com/BYVoid/OpenCC/actions?query=workflow%3A%22Python+package%22)]
+ ## Introduction 介紹
+-![OpenCC](https://opencc.byvoid.com/img/opencc.png)
++OpenCC
+ Open Chinese Convert (OpenCC, 開放中文轉換) is an opensource project for conversions between Traditional Chinese, Simplified Chinese and Japanese Kanji (Shinjitai). It supports character-level and phrase-level conversion, character variant conversion and regional idioms among Mainland China, Taiwan and Hong Kong. This is not translation tool between Mandarin and Cantonese, etc.
index 15281425742f3ee3e7cf51fe02084fd865a4d49b..74933a61d638a0bcebafa6bfe9c978af6d2d1eeb 100644 (file)
@@ -1,3 +1,4 @@
 use-cmake-install-libdir.patch
 0003-use-system-libraries.patch
 0003-data-Explicitly-use-python3.patch
+no-remote-images-when-reading-docs-on-disk.patch